﻿#nullable enable

namespace PHMEE.EnergyEfficiency;

/// <summary>
/// 年度 CII Dto
/// </summary>
public sealed record AnnualCIIDto
{
    public AnnualCIIDto(float? cii, CIIGrade? grade, float? requiredCII)
    {
        CII = cii;
        Grade = grade;
        RequiredCII = requiredCII;
    }

    /// <summary>
    /// CII
    /// </summary>
    public float? CII { get; init; }
    
    /// <summary>
    /// 评级
    /// </summary>
    public CIIGrade? Grade { get; init; }

    /// <summary>
    /// 要求的 CII
    /// </summary>
    public float? RequiredCII { get; set; }
}